﻿using System;
using System.Collections.Generic;
using System.Text;

namespace T.FAS.Runtime.Base.Entity
{
    public static class TUtil
    {
        /// <summary>
        /// 针对List\Record节点，返回属性名称
        /// </summary>
        /// <param name="code"></param>
        /// <param name="isList"></param>
        /// <returns></returns>
        public static string GetPropertyName(string code, bool isList)
        {
            return isList ? code + "_List" : code ;
        }
    }
}
